$(function(){
	
	$("#selectSellOne").click(function(){
	//通过jQuery选择器获得name属性值为userName的input属性
		
		var date1= document.getElementById("operationTime11").value;
		var date2= document.getElementById("operationTime12").value;
		console.log(date1);
		console.log(date2);
		if(date1==""|date2==""){
			
			alert("查询时日期不能为空！");
			
		}else{
			
		$("#showOne").load(path+"/productServlet",{
			method:'selectSellOne',
			operationTime1:date1,
		    operationTime2:date2
		});
		}
	})
	
	
})